<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>分类管理</title>
    <hdjs/>
    <bootstrap/>
    <css file="__CONTROL_TPL__/css/css.css"/>
</head>
<body>
<div class="wrap">
    <div class="title-header">修改分类</div>
   
    <form action="" method="post" class="form-inline hd-form">
        <table class="table1">
            <tr>
                <th class="w100">分类名称</th>
                <td  class="w100">
                    <input type="text" name="title" class="w200" value="{$default.dname}"/> 
                </td>
                <td>分类名称长度 1 到 20 位</td>
            </tr>
            <tr>
                <th class="w100">首字母大写</th>
                <td  class="w100">
                    <input type="text" name="ucwords" class="w200" value="{$default.ucwords}" /> 
                </td>
                <td>一 个 字节 大小</td>
            </tr>
            <tr>
                <th class="w100">所属分类</th>
                <td>
                    <select name="pid">
                        <option value="0">顶级分类</option>
                        <foreach from="$cateData" value="$v">
                            <option value="{$v.did}"<if value="$default['pid'] eq $v['did']">selected="selected"</if>>{$v._name}</option>
                        </foreach>
                    </select>
                </td>
                <td></td>
            </tr>
          
             
        </table>
        <div class="position-bottom">
            <input type="hidden" name="cid" value="{$hd.get.did}"/>
            <input type="submit" class="hd-success" value="修改"/>
            <input type="button" class="hd-success" value="返回" onclick="history.back()"/>
        </div>
    </form>
</div>
</body>
</html>